<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/8/6
 * Time: 15:14
 */
$api->group(['prefix' => 'auth', 'namespace' => 'Auth'], function ($api) {
    $api->get('index', 'authController@index');
});